import request from '@/utils/request'

export const getList = (params) => {
  return request({
    url: 'Book/index',
    method: 'get',
    params
  })
}

export const del = (ids) => {
  return request({
    url: 'Book/del',
    method: 'get',
    params: {
      ids: ids
    }
  })
}

export const order = (data) => {
  return request({
    url: 'Book/order',
    method: 'post',
    data
  })
}

export const imports = (params) => {
  return request({
    url: 'Book/import',
    method: 'get',
    params: params
  })
}